#! /bin/bash
_in_version=$1
if [ "${_in_version}" == "" ] ; then
    echo "input version:"
    read _in_version
else
    #截取版本号
    _in_version=`grep __sl_base_version__ ../sl_tool/SLT_tool_pub_def.h | cut -d "\"" -f 2 |cut -d " " -f 2`
fi

echo "version:" ${_in_version}
make install
zip -q -r sl_base_tool_${_in_version}_`arch`.zip  include lib